Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for indices (0.96 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        return success();
      }
    };
    
    // Lowers DynamicStitch op with constant indices and with static input and
    // output shapes using Reshape, UnPack and Pack op.
    //
    //   %indices0 = "tf.Const"() {value = dense<4> : tensor<i32>}
    //   %indices1 = "tf.Const"() {value = dense<[[3, 2], [1, 0]]> :
    //   tensor<2x2xi32>} %0 = "tf.DynamicStitch"(%indices0, %indices1, %arg0,
    //   %arg1)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

        // CHECK: "tf.AssignVariableOp"([[VAR]], [[TENSOR]])
        "tf.ResourceScatterAdd"(%resource, %indices, %updates) : (tensor<*x!tf_type.resource<tensor<*xi32>>>, tensor<2x?xi32>, tensor<?x?x?xi32>) -> ()
    
        tf_device.return
      }) : () -> ()
      func.return
    }
    
    // Tests that composite tf.ResourceScatterAdd with 1d Indices operation is decomposed.
    
    // CHECK-LABEL: @decompose_resource_scatter_add_op_1d_indices
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      (replaceWithValue $params),
      [(CanOptimizeIdentityGatherNdOrScatterNdOp $params, $indices, $output)]>;
    
    def OptimizeIdentityScatterNdOp : Pat<
      (TFL_ScatterNdOp:$output (Arith_ConstantOp I32ElementsAttr: $indices), $params, $ignored),
      (replaceWithValue $params),
      [(CanOptimizeIdentityGatherNdOrScatterNdOp $params, $indices, $output)]>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        }
      }
    
      return indices;
    }
    
    // Given a list of tensor indices, returns true if any of the tensors have
    // non-empty name strings.
    bool HasNonEmptyNames(const tflite::SubGraphT& subgraph,
                          ArrayRef<int32_t> indices) {
      return llvm::any_of(
          indices, [&](int i) { return !subgraph.tensors.at(i)->name.empty(); });
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/init.go

    		return nil
    	}
    	return mms.indices[mms.mustGetSingleMainModule()]
    }
    
    func (mms *MainModuleSet) Index(m module.Version) *modFileIndex {
    	mms.indexMu.Lock()
    	defer mms.indexMu.Unlock()
    	return mms.indices[m]
    }
    
    func (mms *MainModuleSet) SetIndex(m module.Version, index *modFileIndex) {
    	mms.indexMu.Lock()
    	defer mms.indexMu.Unlock()
    	mms.indices[m] = index
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      EXPECT_THAT(subgraph->tensors[0]->quantization->zero_point, IsEmpty());
    
      // Testing output (indices) tensor type and ensuring it
      // was not quantized
      EXPECT_THAT(subgraph->tensors[1]->type, Eq(TensorType_INT64));
      EXPECT_THAT(subgraph->tensors[1]->name, Eq("indices"));
      EXPECT_THAT(subgraph->tensors[1]->quantization->scale, IsEmpty());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      }];
    
      let arguments = (ins
        Arg<TF_ResourceTensor, "", [TF_VariableRead]>:$resource,
        TF_I32OrI64Tensor:$indices
      );
    
      let results = (outs
        TF_Tensor:$output
      );
    
      TF_DerivedOperandTypeAttr Tindices = TF_DerivedOperandTypeAttr<1>;
      TF_DerivedResultTypeAttr dtype = TF_DerivedResultTypeAttr<0>;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

    // new argument index that corresponds to each original index (-1 means it is
    // removed). If remaining_resource_data_types is provided, it will store the
    // data types of the remaining resource arguments, where the indices are after
    // removing unused ones.
    void RemoveUnusedResourceArgumentsAndForwardedRetvals(
        const llvm::SmallDenseMap<int64_t, ResourceArgUseInfo>& infos,
        func::FuncOp func_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1/types.go

    	// 0-indexed names, or to orchestrate progressive movement of replicas from
    	// one StatefulSet to another.
    	// If set, replica indices will be in the range:
    	//   [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
    	// If unset, defaults to 0. Replica indices will be in the range:
    	//   [0, .spec.replicas).
    	// +optional
    	Start int32 `json:"start" protobuf:"varint,1,opt,name=start"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions.mlir

    } : (tensor<3x4x2xi32>, tensor<2x3x2xi64>) -> tensor<2x3x2x2xi32>
      func.return %2: tensor<2x3x2x2xi32>
    }
    // CHECK: %[[OPERAND:.*]] = stablehlo.constant
    // CHECK: %[[INDICES:.*]] = stablehlo.constant
    // CHECK: %[[XLA_CALL_MODULE:.*]] = "tf.XlaCallModule"(%[[OPERAND]], %[[INDICES]])
    // CHECK: return %[[XLA_CALL_MODULE:.*]] : tensor<2x3x2x2xi32>
    // CHECK: }
    
    // CHECK-LABEL: private @composite_gather_fn_1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 49.8K bytes
    - Viewed (0)
Back to top