Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 302 for shame (0.07 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize_composite_functions.mlir

        %0 = "quantfork.stats"(%arg0) {layerStats = dense<[6.00000000e-6, 9.00000000e-1]> : tensor<2xf32>} : (tensor<1x2xf32>) -> tensor<1x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 91.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/mark_for_compilation_pass.cc

            // static shape for `reshape`.  This is a problem because side-effecting
            // ops like RandomUniformInt() cannot be constant folded.  We fix this
            // by putting `shape` and `reshape` in different clusters, which results
            // in us recompiling `reshape`'s cluster for every new value of `shape`,
            // making `reshape` statically sized within each compilation.  We
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir

      // CHECK: %[[RESULT:.*]] = "tf.StridedSlice"(%arg0, %[[CST]], %[[CST0]], %[[CST1]])
      // CHECK-SAME: begin_mask = 7 : i64
      // CHECK-SAME: ellipsis_mask = 0 : i64
      // CHECK-SAME: end_mask = 14 : i64
      // CHECK-SAME: new_axis_mask = 0 : i64
      // CHECK-SAME: shrink_axis_mask = 0 : i64
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

                  "divisible by num_cores_per_replica="
               << num_cores_per_replica;
      }
      llvm::SmallVector<int64_t, 4> shape;
      shape.push_back(split_size);
      for (int i = 1; i < in_shape.size(); ++i) {
        shape.push_back(in_shape[i]);
      }
      shard_type = RankedTensorType::Builder(ranked_type).setShape(shape);
      return mlir::success();
    }
    
    // Output `sharding`, which is the sharding of `val`. `context_op` is used for
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

              rewriter.getI32IntegerAttr(ConvertToTfliteSize(size));
        }
        auto shape_attr = DenseElementsAttr::get(shape_type, result_shape_data);
        auto shape = rewriter.create<TF::ConstOp>(loc, shape_type, shape_attr);
    
        return rewriter.create<TF::ReshapeOp>(loc, result_type, filter, shape);
      }
    };
    
    // StridedSlice can have complicated attributes like begin_axis_mask,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

      """
      TENSOR = 1
      TENSOR_LIST = 2
      ATTR = 3
      NONE = 4
      SHAPE = 5  # shape -> !shape.shape
      I1 = 21
      I8 = 22
      I16 = 23
      I32 = 24
      I64 = 25
      F32 = 26
      INDEX = 27
      AG_UNDEFINED_VAL = 100
      AG_BUILTIN_FUNC = 101
      TF_RAW_OP = 102
      TF_REGION = 103
      TF_TENSOR_SHAPE_FUNC = 104  # shape.as_list
      TF_TENSOR_SHAPE_LIST = 105  # shape.as_list()
      PY_BUILTIN_FUNC = 200
      TFR_BUILTIN_FUNC = 201
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

    }
    
    TEST(CAPI, ShapeInferenceError) {
      // TF_FinishOperation should fail if the shape of the added operation cannot
      // be inferred.
      TF_Status* status = TF_NewStatus();
      TF_Graph* graph = TF_NewGraph();
    
      // Create this failure by trying to add two nodes with incompatible shapes
      // (A tensor with shape [2] and a tensor with shape [3] cannot be added).
      const char data[] = {1, 2, 3};
      const int64_t vec2_dims[] = {2};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      const float eps = 1e-7;
      EXPECT_THAT(expected_tensor, NotNull());
      EXPECT_THAT(tensor->is_variable, Eq(expected_tensor->is_variable));
      EXPECT_THAT(tensor->shape, Eq(expected_tensor->shape));
      EXPECT_THAT(tensor->type, Eq(expected_tensor->type));
      const auto quantization_params = tensor->quantization.get();
      const auto expected_quantization_params = expected_tensor->quantization.get();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/tests/raise-target-subgraphs.mlir

        %cst_0 = arith.constant dense<0> : tensor<i32>
        %cst_1 = arith.constant dense<-1> : tensor<1xi32>
        %cst_2 = arith.constant dense<1> : tensor<1xi32>
        %cst_3 = arith.constant dense<0> : tensor<1xi32>
        %0 = "tfl.shape"(%arg2) {tac.device = "DARWINN", tac.inference_type = "FLOAT"} : (tensor<?x?xi32>) -> tensor<2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

          mlir::SmallVector<mlir::Attribute, 4> shape;
          for (auto s : new_shape) {
            shape.push_back(
                builder.getI32IntegerAttr(mlir::TFL::ConvertToTfliteSize(s)));
          }
          auto output_shape = DenseElementsAttr::get(shape_type, shape);
          auto shape_op = builder.create<tfl::ConstOp>(loc, output_shape);
          op_state.addOperands({shape_op});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
Back to top